package cn.doitedu.eagle.queryservice;

import cn.doitedu.eagle.beans.BufferResult;

public interface BufferManager {

    public BufferResult getCountBuffer(String bufferKey, long queryStartTime, long queryEndTime, long querySplitPoint);

    public BufferResult getSeqBuffer(String bufferKey, long queryStartTime, long queryEndTime, long querySplitPoint);

    public void updateCountBuffer(String bufferKey, int bufferValue, long bufferStartTime, long bufferEndTime) throws Exception;

    public void updateSeqBuffer(String bufferKey, int bufferValue, long bufferStartTime, long bufferEndTime) throws Exception;

}
